package com.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 摄像头
 * </p>
 * @author WuZH
 * @since 2023-11-08
 */
@Data
@ApiModel (value = "CameraEntity对象", description = "摄像头")
public class CameraVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    private String id;

    @ApiModelProperty ("相机名称")
    private String cameraName;

    @ApiModelProperty ("摄像头型号")
    private String cameraModel;

    @ApiModelProperty ("相机IP")
    private String cameraIp;

    @ApiModelProperty ("摄像机端口")
    private Integer cameraPort;

    @ApiModelProperty ("摄像头编码，唯一识别符")
    private String cameraCode;

    @ApiModelProperty ("摄像头用户名")
    private String cameraUser;

    @ApiModelProperty ("摄像头密码")
    private String cameraPassword;

    @ApiModelProperty ("摄像头安装位置")
    private String installAddress;

    @ApiModelProperty ("所属电站")
    private String stationId;

    private Date createTime;

    private Integer isUsed;

    @ApiModelProperty("前端请求的推流http地址")
    private String cameraUrl;

    @ApiModelProperty("摄像头是否在线状态")
    private Integer status; // 0 不在线

}
